import {request} from "../request";
//查看个人资产
export function selectMyGsPy({userId,name}){
    return request({
        url:'/process/gs-py/Mygoods',
        method:'get',
        params:{
        userId,name
        }
    })
}
//新增物品归还
export function addGsRestoreRecord(gsRestoreRecords){
    return request({
        url:'/gsRestoreRecord/add',
        method:'post',
        data: gsRestoreRecords
    })

}
//查看归还物品的记录
export function selectGsRestoreRecord({emp_name,name}){
    return request({
        url:'/gsRestoreRecord/query',
        method:'get',
        params:{
        emp_name,name
        }
    })
}